package com.arqui.admmon_module.server.guice;

import com.gwtplatform.dispatch.server.guice.HandlerModule;
import com.arqui.admmon_module.client.action.GetLogin;
import com.arqui.admmon_module.client.action.HistoricInvalid;
import com.arqui.admmon_module.client.action.HistoricLoad;
import com.arqui.admmon_module.client.action.HistoricServices;
import com.arqui.admmon_module.client.action.RealTimeInvalid;
import com.arqui.admmon_module.client.action.RealTimeLoad;
import com.arqui.admmon_module.client.action.RealTimeServices;
import com.arqui.admmon_module.client.action.SaveBrand;

import com.arqui.admmon_module.server.handlers.*;

public class ServerModule extends HandlerModule {

	@Override
	protected void configureHandlers() {

		bindHandler(GetLogin.class, GetLoginActionHandler.class);

		bindHandler(SaveBrand.class, SaveBrandActionHandler.class);
		
		bindHandler(RealTimeLoad.class, RealTimeLoadActionHandler.class);

		bindHandler(HistoricLoad.class, HistoricLoadActionHandler.class);

		bindHandler(RealTimeServices.class, RealTimeServicesActionHandler.class);

		bindHandler(HistoricServices.class, HistoricServicesActionHandler.class);
		
		bindHandler(RealTimeInvalid.class, RealTimeInvalidActionHandler.class);

		bindHandler(HistoricInvalid.class, HistoricInvalidActionHandler.class);

		bindHandler(RealTimeInvalid.class, RealTimeInvalidActionHandler.class);
	}
}
